package com.gqz.mapper;

import com.gqz.domain.BlogArticleType;
import com.gqz.dto.ArticleTypeDto;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 文章类型的顶级持久层
 */
public interface BlogArticleTypeMapper extends Mapper<BlogArticleType> {

    /*
     * 批量删除
     * */
    int batchDeleteArticleType(@Param("ids") Long[] ids);

    List<ArticleTypeDto> getAllArticleTypeDto();
}
